package Text;

import java.util.Scanner;

public class Circular{
    int r;
    public  Circular(int r){
        this.r=r;
    }
    double Perimeter(){
        return  2*r*3.14;
    }
    double area(){
        return r*r*3.14;
    }
    public static void main(String [] args){
        Scanner sc=new Scanner(System.in);
        int r=sc.nextInt();
        Circular circular=new Circular(r);
        System.out.println("周长为:"+circular. Perimeter());
        System.out.println("面积为:"+circular. area());
    }
}